<div class="brandUrls index">
	<h2><?php __('API Listing');?></h2>
	<table cellpadding="0" cellspacing="2" width="650">
	<tr>
			<th style="text-align:center;padding:5px;"><?php echo $this->Paginator->sort('id');?></th>
			<th style="text-align:center;padding:5px;"><?php echo $this->Paginator->sort('attribute');?></th>
			<th style="text-align:center;padding:5px;"><?php echo $this->Paginator->sort('system_name');?></th>
			<!--th><?php echo $this->Paginator->sort('description');?></th-->
			<!--th><?php echo $this->Paginator->sort('url');?></th-->
			<th style="text-align:center;padding:5px;"><?php echo $this->Paginator->sort('weight');?></th>
			<!--th><?php echo $this->Paginator->sort('created');?></th-->
			<th style="text-align:center;padding:5px;"><?php echo $this->Paginator->sort('status');?></th>
			<!--th><?php echo $this->Paginator->sort('display');?></th-->
			<th style="text-align:center;padding:5px;"><?php echo $this->Paginator->sort('display_name');?></th>
			<th class="actions" style="text-align:center;padding:5px;"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($brandUrls as $brandUrl):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td style="text-align:center;padding:5px;"><?php echo $brandUrl['BrandUrl']['id']; ?>&nbsp;</td>
		<td style="text-align:center;padding:5px;"><?php echo $brandUrl['BrandUrl']['attribute']; ?>&nbsp;</td>
		<td style="text-align:center;padding:5px;"><?php echo $brandUrl['BrandUrl']['system_name']; ?>&nbsp;</td>
		<!--td><?php echo $brandUrl['BrandUrl']['description']; ?>&nbsp;</td-->
		<!--td><?php echo $brandUrl['BrandUrl']['url']; ?>&nbsp;</td-->
		<td style="text-align:center;padding:5px;"><?php echo $brandUrl['BrandUrl']['weight']; ?>&nbsp;</td>
		<!--td><?php echo $brandUrl['BrandUrl']['created']; ?>&nbsp;</td-->
		<td style="text-align:center;padding:5px;"><?php echo $brandUrl['BrandUrl']['status']; ?>&nbsp;</td>
		<!--td><?php echo $brandUrl['BrandUrl']['display']; ?>&nbsp;</td-->
		<td style="text-align:center;padding:5px;"><?php echo $brandUrl['BrandUrl']['display_name']; ?>&nbsp;</td>
		<td class="actions" style="text-align:center;padding:5px;">
			<?php //echo $this->Html->link(__('View', true), array('action' => 'view', $brandUrl['BrandUrl']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $brandUrl['BrandUrl']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $brandUrl['BrandUrl']['id']), null, sprintf(__('Are you sure you want to delete this URL?', true), $brandUrl['BrandUrl']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
